using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class 生成测试 : MonoBehaviour
{
    public fastbackpack fbp;

    void Start()
    {
        string ceshi = "the item is testitem";
        Item a = new Item("cs1", ItemCategory.Equipment, "ceshi1", ceshi);
        Debug.Log("物品创建成功");
        物品管理器.SingleItemManage.RegisterItem(a);
        Debug.Log("物品注册成功，cnt为" + a.Itemcnt);
        fbp.additem(a);

        string ceshi1 = "66666666666";
        Item b = new Item("cs2", ItemCategory.Equipment, "ceshi1", ceshi1);
        Debug.Log("物品创建成功");
        物品管理器.SingleItemManage.RegisterItem(b);
        Debug.Log("物品注册成功，cnt为" + b.Itemcnt);
        fbp.additem(b);

    }

    // Update is called once per frame
    void Update()
    {
        
    }


}
